package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 医生管理对象 t_doctor_user
 * 
 * @author 孙山伟
 * @date 2020-12-20
 */
public class TDoctorUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 列表 */
    private String [] classtype;

    /** 帐号状态（0正常 1停用） */
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 密码 */
    private String password;

    /** 用户性别（0男 1女 2未知） */
    @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private Long phonenumber;

    /** 用户邮箱 */
    @Excel(name = "用户邮箱")
    private String email;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String userName;

    /** 用户ID */
    private Long id;
    /** 科室ID */
    private  Long  officeId;

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setClasstype( String []  classtype)
    {
        this.classtype = classtype;
    }

    public  String []  getClasstype()
    {
        return classtype;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setPhonenumber(Long phonenumber)
    {
        this.phonenumber = phonenumber;
    }

    public Long getPhonenumber()
    {
        return phonenumber;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("remark", getRemark())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("delFlag", getDelFlag())
            .append("classtype", getClasstype())
            .append("status", getStatus())
            .append("password", getPassword())
            .append("sex", getSex())
            .append("phonenumber", getPhonenumber())
            .append("email", getEmail())
            .append("nickName", getNickName())
            .append("userName", getUserName())
            .append("id", getId())
            .toString();
    }

    public Long getOfficeId() {
        return officeId;
    }

    public void setOfficeId(Long officeId) {
        this.officeId = officeId;
    }
}
